﻿using System;
using System.Collections.Generic;
using System.Text;

namespace FlashPay.Service.Interface
{
    using FlashPay.Entity.Parameter;
    using FlashPay.Entity.Response.ExtApiCompat;

    /// <summary>
    /// 授权业层接口
    /// </summary>
    interface ExtApiCompatService
    {
        /// <summary>
        /// 获取
        /// </summary>
        /// <param name="id">编号</param>
        ExtApiCompatResponse Get(int id);

        /// <summary>
        /// 新增
        /// </summary>
        /// <param name="model"></param>
        /// <returns></returns>
        void AddOrEdit();

        /// <summary>
        /// 查看
        /// </summary>
        /// <param name="query"></param>
        /// <returns></returns>
        List<ExtApiCompatResponse> GetList(ExtApiCompatQuery query);
    }
}
